home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
CRS
/
crs54.d81
/
sgtool13.arc
/
SID.ARC
/
SIDATK.C
next >
Wrap
C/C++ Source or Header
|
1993-08-28
|
339b
|
20 lines
/*
SG C Tools 1.3
(C) 1993 Steve Goldsmith
All Rights Reserved
Compiled with HI-TECH C 3.09 (CP/M-80).
*/
#include <sys.h>
#include <hitech.h>
#include <sid.h>
/* start attack, decay, sustain cycle. gate bit is not needed */
void attacksid(ushort Voice, uchar Waveform)
{
outp(Voice+4,Waveform | sidWaveGate);
}